home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 4 / Amiga Tools 4.iso / tools / mail-tools / thor / thor_2.22 / thor.lha / rexx / BBSRead / CfgBBS.br < prev    next >
Text File  |  1995-12-18  |  522b  |  32 lines

  1. /* $VER: CfgBBS.br 3.2 (07.06.94)
  2. **
  3. ** Stubb to use CONFIGBBS from cli 
  4. */
  5.  
  6.     parse arg arguments
  7.  
  8.     if ~show('p', 'BBSREAD') then do
  9.         address command
  10.             "run >nil: `GetEnv THOR/THORPath`bin/LoadBBSRead"
  11.             "WaitForPort BBSREAD"
  12.     end
  13.  
  14.     address BBSREAD
  15.  
  16.     if arguments = '' then 
  17.     do
  18.         GETCOMMANDINFO CONFIGBBS TEMP
  19.  
  20.         say 'CfgBBS.br 3.2 (07.06.94)'
  21.         say 'Lets you use the CONFIGBBS arexx command from CLI.'
  22.         say 'Template:' TEMP
  23.         exit
  24.     end
  25.  
  26.     CONFIGBBS arguments
  27.     if(rc ~= 0) then
  28.     do
  29.         say BBSREAD.LASTERROR
  30.         exit
  31.     end
  32.